Conversation
fe5d68c to
f89e797
Compare
* chore: 이슈 템플릿 세팅 (bug, chore, documentation, feature, refactor) * chore: PR 템플릿 세팅 * chore: .gitignore .DS_store 파일 등록 * chore: 주석 처리된 Flyway, AWS S3 dependency 및 관련 설정 제거 (추후 필요 시 다시 추가 예정) * chore: 환경별 설정 세팅 * chore: develop pull request 워크플로우 구성 * chore: Test 클래스에 active profile, auto configure test database 설정 세팅
Contributor
|
@songhyeonpk 확인했습니다. 전체적으로 코드와 설정이 잘 짜여진 것 같습니다. |
chaiminwoo0223
approved these changes
Jun 16, 2025
Contributor
chaiminwoo0223
left a comment
There was a problem hiding this comment.
지금 설정하신 프로젝트대로 진행하면 될 것 같습니다.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📌 작업 내용 및 특이사항
✅ Github 설정
.github/ISSUE_TEMPLATE/디렉토리에 이슈 템플릿 추가했습니다.:
feature.md,bug.md,chore.md,refactor.md,documentation.md.github/디렉토리에PULL_REQUEST_TEMPLATE.mdPR 템플릿 추가했습니다..DS_Store(Mac Finder의 뷰 설정 등 UI 정보 파일)가 레포지토리에 포함되어 있어.gitignore에 추가했습니다.✅ 프로젝트 환경 설정
Flyway,AWS S3 SDK관련 의존성과 설정을 제거하였습니다. 추후 필요 시 다시 설정하면 될 것 같습니다.:
test,local,dev,prod,datasource,redis,securitydevelop브랜치에 PR 발생 시 트리거되는develop_pull_request.yml워크플로우를 구성하였습니다.->
./gradlew check명령으로 코드 품질 관리 검사와 테스트를 진행하도록 구성했습니다-> MySQL 관련 설정은
GitHub Secrets에 등록해두었습니다.✅ 테스트 설정
-> DB 접근이 필요한 통합 테스트를 구성할 때, 추상 클래스를 정의해 상속받는 구조로 사용하면 좋을 것 같습니다.
💡 예시 코드:
🌱 관련 이슈
🔍 참고사항(선택)
[ 트러블 슈팅 ]
UnknownHostException: mysql에러가 발생했습니다.: 워크플로우에서 설정한
mysql이라는 호스트를 찾을 수 없다는 에러services로 실행한 컨테이너는 워크플로우의host네트워크와 격리되어 접근이 불가했습니다.docker run명령어로 컨테이너를 직접 실행해 같은 네트워크에서 접근 가능하도록 변경했습니다.:
MySQL,Redis컨테이너 각각 실행, 워크플로우 내에서 각각step으로 실행docker-compose-test.yml파일을 구성하고docker compose up명령을 사용해도 되지만, 더 간결한 스크립트를 위해docker run을 선택했습니다.📚 기타(선택)
[공유사항]
->
.git/hooks/pre-commit에scripts/pre-commit.sh가 적용되서, 추후git commit명령 수행 시 스테이징된 파일들에 한해서 코드 포맷팅이 적용됩니다.